3.157 \(\int \tan ^p(a+3 \log (x)) \, dx\)

Optimal. Leaf size=120 \[ x \left (1-e^{2 i a} x^{6 i}\right )^{-p} \left (\frac{i \left (1-e^{2 i a} x^{6 i}\right )}{1+e^{2 i a} x^{6 i}}\right )^p \left (1+e^{2 i a} x^{6 i}\right )^p F_1\left (-\frac{i}{6};-p,p;1-\frac{i}{6};e^{2 i a} x^{6 i},-e^{2 i a} x^{6 i}\right ) \]

[Out]

(((I*(1 - E^((2*I)*a)*x^(6*I)))/(1 + E^((2*I)*a)*x^(6*I)))^p*(1 + E^((2*I)*a)*x^(6*I))^p*x*AppellF1[-I/6, -p,
p, 1 - I/6, E^((2*I)*a)*x^(6*I), -(E^((2*I)*a)*x^(6*I))])/(1 - E^((2*I)*a)*x^(6*I))^p

________________________________________________________________________________________

Rubi [F]  time = 0.0207789, antiderivative size = 0, normalized size of antiderivative = 0., number of steps used = 0, number of rules used = 0, integrand size = 0, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0., Rules used = {} \[ \int \tan ^p(a+3 \log (x)) \, dx \]

Verification is Not applicable to the result.

[In]

Int[Tan[a + 3*Log[x]]^p,x]

[Out]

Defer[Int][Tan[a + 3*Log[x]]^p, x]

Rubi steps

\begin{align*} \int \tan ^p(a+3 \log (x)) \, dx &=\int \tan ^p(a+3 \log (x)) \, dx\\ \end{align*}

Mathematica [A]  time = 0.489129, size = 240, normalized size = 2. \[ \frac{(1+6 i) x \left (-\frac{i \left (-1+e^{2 i a} x^{6 i}\right )}{1+e^{2 i a} x^{6 i}}\right )^p F_1\left (-\frac{i}{6};-p,p;1-\frac{i}{6};e^{2 i a} x^{6 i},-e^{2 i a} x^{6 i}\right )}{(1+6 i) F_1\left (-\frac{i}{6};-p,p;1-\frac{i}{6};e^{2 i a} x^{6 i},-e^{2 i a} x^{6 i}\right )-6 i e^{2 i a} p x^{6 i} \left (F_1\left (1-\frac{i}{6};1-p,p;2-\frac{i}{6};e^{2 i a} x^{6 i},-e^{2 i a} x^{6 i}\right )+F_1\left (1-\frac{i}{6};-p,p+1;2-\frac{i}{6};e^{2 i a} x^{6 i},-e^{2 i a} x^{6 i}\right )\right )} \]

Warning: Unable to verify antiderivative.

[In]

Integrate[Tan[a + 3*Log[x]]^p,x]

[Out]

((1 + 6*I)*(((-I)*(-1 + E^((2*I)*a)*x^(6*I)))/(1 + E^((2*I)*a)*x^(6*I)))^p*x*AppellF1[-I/6, -p, p, 1 - I/6, E^
((2*I)*a)*x^(6*I), -(E^((2*I)*a)*x^(6*I))])/((1 + 6*I)*AppellF1[-I/6, -p, p, 1 - I/6, E^((2*I)*a)*x^(6*I), -(E
^((2*I)*a)*x^(6*I))] - (6*I)*E^((2*I)*a)*p*x^(6*I)*(AppellF1[1 - I/6, 1 - p, p, 2 - I/6, E^((2*I)*a)*x^(6*I),
-(E^((2*I)*a)*x^(6*I))] + AppellF1[1 - I/6, -p, 1 + p, 2 - I/6, E^((2*I)*a)*x^(6*I), -(E^((2*I)*a)*x^(6*I))]))

________________________________________________________________________________________

Maple [F]  time = 0.318, size = 0, normalized size = 0. \begin{align*} \int \left ( \tan \left ( a+3\,\ln \left ( x \right ) \right ) \right ) ^{p}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(tan(a+3*ln(x))^p,x)

[Out]

int(tan(a+3*ln(x))^p,x)

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \tan \left (a + 3 \, \log \left (x\right )\right )^{p}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(tan(a+3*log(x))^p,x, algorithm="maxima")

[Out]

integrate(tan(a + 3*log(x))^p, x)

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\tan \left (a + 3 \, \log \left (x\right )\right )^{p}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(tan(a+3*log(x))^p,x, algorithm="fricas")

[Out]

integral(tan(a + 3*log(x))^p, x)

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \tan ^{p}{\left (a + 3 \log{\left (x \right )} \right )}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(tan(a+3*ln(x))**p,x)

[Out]

Integral(tan(a + 3*log(x))**p, x)

________________________________________________________________________________________

Giac [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(tan(a+3*log(x))^p,x, algorithm="giac")

[Out]

Timed out